//
//  TPPlayerView.h
//  TPHelper
//
//  Created by xuqiang on 2020/7/28.
//  Copyright © 2020 xuqiang. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TPPlayerViewDelegate <NSObject>

- (void)play;
- (void)start;
- (void)pause;
- (void)stop;
- (void)soundAdd;
- (void)soundLess;

@end

NS_ASSUME_NONNULL_BEGIN

@interface TPPlayerView : UIView
@property (nonatomic,weak) id<TPPlayerViewDelegate> delegate;
- (IBAction)play:(id)sender;
- (IBAction)stop:(id)sender;
- (IBAction)soundAdd:(id)sender;
- (IBAction)soundLess:(id)sender;

+ (instancetype)loadFromNib;
@end

NS_ASSUME_NONNULL_END
